package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    /**
     * 一对多查询
     * @return
     */
    List<User> findOrdersByUser();

    User findUserById(Integer id);

    User insertUser(User user);
}
